from django.db import models

class Theme(models.Model):
    display_name = models.CharField(max_length=255)
    url = models.CharField(max_length=255)
    count = models.IntegerField()
    order_col = models.CharField(max_length=255)

    class Meta:
        db_table = 'image_theme'
        verbose_name_plural = '主题'

class Column(models.Model):
    column_key = models.CharField(max_length=255)  # 例如: user, me, me1, etc.
    display_name = models.CharField(max_length=255)
    url = models.CharField(max_length=255)
    file_end = models.CharField(max_length=10)

    class Meta:
        db_table = 'image_column'
        verbose_name_plural = '列'
